<!-- This comment will put IE 6, 7 and 8 in quirks mode -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>FEUP-Defender: Referência ao ficheiro video-graphics/SPRITE.H</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javaScript" src="../../search/search.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<!-- Gerado por Doxygen 1.6.3 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "../../search",false,'Localizar');
--></script>
<script type="text/javascript">
<!--
function changeDisplayState (e){
  var num=this.id.replace(/[^[0-9]/g,'');
  var button=this.firstChild;
  var sectionDiv=document.getElementById('dynsection'+num);
  if (sectionDiv.style.display=='none'||sectionDiv.style.display==''){
    sectionDiv.style.display='block';
    button.src='../../open.gif';
  }else{
    sectionDiv.style.display='none';
    button.src='../../closed.gif';
  }
}
function initDynSections(){
  var divs=document.getElementsByTagName('div');
  var sectionCounter=1;
  for(var i=0;i<divs.length-1;i++){
    if(divs[i].className=='dynheader'&&divs[i+1].className=='dynsection'){
      var header=divs[i];
      var section=divs[i+1];
      var button=header.firstChild;
      if (button!='IMG'){
        divs[i].insertBefore(document.createTextNode(' '),divs[i].firstChild);
        button=document.createElement('img');
        divs[i].insertBefore(button,divs[i].firstChild);
      }
      header.style.cursor='pointer';
      header.onclick=changeDisplayState;
      header.id='dynheader'+sectionCounter;
      button.src='../../closed.gif';
      section.id='dynsection'+sectionCounter;
      section.style.display='none';
      section.style.marginLeft='14px';
      sectionCounter++;
    }
  }
}
window.onload = initDynSections;
-->
</script>
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="../../index.html"><span>Página&nbsp;principal</span></a></li>
      <li><a href="../../modules.html"><span>Módulos</span></a></li>
      <li><a href="../../annotated.html"><span>Estruturas&nbsp;de&nbsp;dados</span></a></li>
      <li class="current"><a href="../../files.html"><span>Ficheiros</span></a></li>
      <li><a href="../../dirs.html"><span>Directories</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <img id="MSearchSelect" src="../../search/search.png"
             onmouseover="return searchBox.OnSearchSelectShow()"
             onmouseout="return searchBox.OnSearchSelectHide()"
             alt=""/>
        <input type="text" id="MSearchField" value="Localizar" accesskey="S"
             onfocus="searchBox.OnSearchFieldFocus(true)" 
             onblur="searchBox.OnSearchFieldFocus(false)" 
             onkeyup="searchBox.OnSearchFieldChange(event)"/>
        <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="../../search/close.png" alt=""/></a>
        </div>
      </li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="../../files.html"><span>Lista&nbsp;de&nbsp;ficheiros</span></a></li>
      <li><a href="../../globals.html"><span>Globais</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="../../dir_686781ac0099e9c23523591a8a871e66.html">video-graphics</a>
  </div>
</div>
<div class="contents">
<h1>Referência ao ficheiro SPRITE.H</h1><code>#include &lt;math.h&gt;</code><br/>
<code>#include &lt;stdio.h&gt;</code><br/>
<code>#include &lt;stdlib.h&gt;</code><br/>
<code>#include &lt;string.h&gt;</code><br/>
<code>#include &quot;<a class="el" href="../../d2/df8/video-graphics_8h_source.html">video-graphics.h</a>&quot;</code><br/>
<div class="dynheader">
Diagrama de dependências de inclusão para SPRITE.H:</div>
<div class="dynsection">
<div class="center"><img src="../../db/dde/SPRITE_8H__incl.png" border="0" usemap="#video-graphics_2SPRITE_8H_map" alt=""/></div>
</div>
<div class="dynheader">
Este grafo mostra quais são os ficheiros que incluem directamente ou indirectamente este ficheiro:</div>
<div class="dynsection">
<div class="center"><img src="../../d8/d75/SPRITE_8H__dep__incl.png" border="0" usemap="#video-graphics_2SPRITE_8Hdep_map" alt=""/></div>
</div>

<p><a href="../../d8/d47/SPRITE_8H_source.html">Ir para o código fonte deste ficheiro.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Estruturas de Dados</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d3a/structSprite.html">Sprite</a></td></tr>
<tr><td colspan="2"><h2>Macros</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d18/group__sprite.html#ga7a047d192cdd3831464a17e3a3e5de6c">LEFT_HIT</a>&nbsp;&nbsp;&nbsp;3</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d18/group__sprite.html#gac2cd96d53dd3ba6407db6766c3d92b26">MAX_SPEED</a>&nbsp;&nbsp;&nbsp;5</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d18/group__sprite.html#ga56c64c13c42271b70bcb51986ee8da20">MOUSE_HIT</a>&nbsp;&nbsp;&nbsp;4</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d18/group__sprite.html#gaeb36ab00594b7e7e003a891d8e823f81">RIGHT_HIT</a>&nbsp;&nbsp;&nbsp;2</td></tr>
<tr><td colspan="2"><h2>Funções</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d18/group__sprite.html#ga312c0a1681116fec27c3eedc167fde25">animate_sprite</a> (<a class="el" href="../../da/d3a/structSprite.html">Sprite</a> *sprt, char *base)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d18/group__sprite.html#ga255ede37ffcbe9b8130667bcbf007387">animate_sprite_rotated</a> (<a class="el" href="../../da/d3a/structSprite.html">Sprite</a> *sprt, char *base, int angle)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../da/d3a/structSprite.html">Sprite</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d18/group__sprite.html#gaa9ab6a26ab5bfd7ffc480128d6a4d307">capture_screen</a> (int x_ini, int y_ini, int width, int height, char *base)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../da/d3a/structSprite.html">Sprite</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d18/group__sprite.html#gac732cca247655c1bac63318eb29ffe7f">create_sprite</a> (char *pic[])</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../da/d3a/structSprite.html">Sprite</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d18/group__sprite.html#gaea125ed51778887ae732641df4842663">create_unbuffered_sprite</a> (char *pic[])</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d18/group__sprite.html#ga3b37bd781f601a8a1d7eaa34e14c1cd7">delete_sprite</a> (<a class="el" href="../../da/d3a/structSprite.html">Sprite</a> *sprt, char *base)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d18/group__sprite.html#gabe11190455f603b11f3a8a195e9cde45">delete_sprite_rotated</a> (<a class="el" href="../../da/d3a/structSprite.html">Sprite</a> *sprt, char *base, int angle)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d18/group__sprite.html#ga0db50460d5c72ad5e6dd2ea26178e968">delete_sprite_scaled</a> (<a class="el" href="../../da/d3a/structSprite.html">Sprite</a> *sprt, char *base, int width, int height)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d18/group__sprite.html#ga0e7795d3f5963911c80f5167a2f4812b">destroy_sprite</a> (<a class="el" href="../../da/d3a/structSprite.html">Sprite</a> *sprt)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d18/group__sprite.html#gaf24b9f5f8dc0c6a60e4263e88ac41a9c">draw_mosaic</a> (<a class="el" href="../../da/d3a/structSprite.html">Sprite</a> *sprt, char *base)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d18/group__sprite.html#ga5c23ddc01d5d729ab434ae2dbb497d9b">draw_sprite</a> (<a class="el" href="../../da/d3a/structSprite.html">Sprite</a> *sprt, char *base)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d18/group__sprite.html#gafd72bd42b3d68e35201c12ce287cd3e7">draw_sprite_rotated</a> (<a class="el" href="../../da/d3a/structSprite.html">Sprite</a> *sprt, char *base, int angle)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d18/group__sprite.html#ga04811ceec9b2d18181ac060136eda09d">draw_sprite_rotated_scaled</a> (<a class="el" href="../../da/d3a/structSprite.html">Sprite</a> *sprt, char *base, int angle, int width, int height)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d18/group__sprite.html#ga0c8170d1127ecc74d58f87b112b1b461">draw_sprite_scaled</a> (<a class="el" href="../../da/d3a/structSprite.html">Sprite</a> *sprt, char *base, int width, int height)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d18/group__sprite.html#gad61882c39cb6842ec711d1e959e32a7c">flip_buffer</a> (char *dest, char *src)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d18/group__sprite.html#ga49a1c8dfb402ff70c8861850b67ba0ec">flip_buffer_partial</a> (char *dest, char *src, int xi, int yi, int width, int height)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d18/group__sprite.html#ga5c0da2e39973a2e7103cc833bb5b827f">move_cursor</a> (<a class="el" href="../../da/d3a/structSprite.html">Sprite</a> *fig, int xstep, int ystep, char *base)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d18/group__sprite.html#ga2fb91a3a8c174bbd441e88256d6db987">move_sprite</a> (<a class="el" href="../../da/d3a/structSprite.html">Sprite</a> *sprt, int x, int y, char *base)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d18/group__sprite.html#ga87bd140b1b1b28386f37ebac5c9b9d2e">read_xpm</a> (char *map[], int *width, int *height)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d18/group__sprite.html#ga238099ba434fd07b23337a83df742773">update_sprite</a> (<a class="el" href="../../da/d3a/structSprite.html">Sprite</a> *sprt, char *base)</td></tr>
</table>
</div>
<!--- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&nbsp;</span>Tudo</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&nbsp;</span>Estruturas de dados</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&nbsp;</span>Ficheiros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&nbsp;</span>Funções</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&nbsp;</span>Variáveis</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&nbsp;</span>Definições de tipos</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&nbsp;</span>Enumerações</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&nbsp;</span>Valores da enumeração</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&nbsp;</span>Macros</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<hr class="footer"/><address style="text-align: right;"><small>Gerado em Tue Jun 1 21:46:46 2010 para FEUP-Defender por&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="../../doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address>
</body>
</html>
